package com.imy.rootserver.utils;

import com.imy.rootserver.constant.Constant;

public class ProtocolCreate {



  public static String createScreen(String path, boolean b, String filePath){
    StringBuilder builder =new StringBuilder();
    builder.append(Constant.TAKE_SCREEN);
    builder.append(" ");
    builder.append(path);
    builder.append(" ");
    if (b){
      builder.append(Constant.SUCCESS);
    }else {
      builder.append(Constant.FAIL);
    }
    builder.append(" ");
    builder.append(filePath);
    return builder.toString();
  }
}
